package com.student.service;

import com.student.model.Room;

import java.util.List;

public interface RoomService {
    //通过房间Id查询房间信息
    Room getInforById(Integer roomId);
    //添加房间信息
    int insertRoom(Room room);
    //通过房间Id删除房间信息
    int deleteInforById(Integer roomId);
    //获取所有房间信息
    List<Room> getAllRooms();
    //修改房间信息
    int putRoomInfo(Room room);
    //批量添加房间信息
    int insertBatchRoom(List<Room> rooms);
    //批量删除房间
    int deleteBathRoom(List<Integer> roomIds);
    //通过房间Id查询学生信息
    List<Room> getRoomIncludeStudentInfoById(Integer roomId);
}
